<template>
  <div id="app">
    <NavHeader></NavHeader>
    <div class="container">
      <router-view v-slot="{ Component }">
        <component :is="Component"></component>
      </router-view>
      <NavFooter></NavFooter>
    </div>
  </div>
</template>

<script setup>
import NavHeader from './components/navheader/NavHeader.vue'
import NavFooter from './components/navfooter/NavFooter.vue'
import {onMounted} from "vue";

onMounted(() => {
  console.log("%c钟老师，元旦快乐！", "font-size: 24px; color: red; font-weight: bold;");
})
</script>

<style>
#app {
  height: 100%;
}

.container {
  width: 1040px;
  margin: 0 auto;
  min-height: calc(100% -148px);
  height:auto
}
</style>
